package org.plumecache.springboot.autoconfigurer.controller.vo;

import com.plumecache.core.CacheService;

/**
 * @author yinyansheng
 */
public class CacheCommand {
    private String instanceName;
    private String command;
    private String key;
    private String field;
    private String value;

    private CacheService cacheInstance;

    public CacheService getCacheInstance() {
        return cacheInstance;
    }

    public void setCacheInstance(CacheService cacheInstance) {
        this.cacheInstance = cacheInstance;
    }

    public String getInstanceName() {
        return instanceName;
    }

    public void setInstanceName(String instanceName) {
        this.instanceName = instanceName;
    }

    public String getCommand() {
        return command;
    }

    public void setCommand(String command) {
        this.command = command;
    }

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }

    public String getField() {
        return field;
    }

    public void setField(String field) {
        this.field = field;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }
}
